package lab2rsagroup10;

import java.io.*;
import java.math.BigInteger;

public class Lab2RSAParser extends AbstractRSAParser {
	
	public Lab2RSAParser(BufferedReader br) throws IOException {
		super();
		BigInteger key = new BigInteger(br.readLine());
		BigInteger modulos = new BigInteger(br.readLine());
		public_key_ = new RSA.Key(key, modulos);
		
		for(String line = br.readLine(); line != null; 
				line = br.readLine()) {
			cipher_.add(new BigInteger(line));
		}
	}
}
